package com.zjuee.web.ledger.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zjuee.base.dto.common.ledger.LedgerDisposeBillDto;
import com.zjuee.base.model.common.ledger.LedgerDisposeBill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * 处置台账汇总Mapper
 *
 * @author wu liang
 * @since 1.0
 */
@Mapper
public interface LedgerDisposeBillMapper extends BaseMapper<LedgerDisposeBill> {
    Page<LedgerDisposeBill> findByCustomPager(Page<LedgerDisposeBill> page, @Param("params") LedgerDisposeBillDto ledgerDisposeBill);
    List<LedgerDisposeBill> selectList(@Param("params") LedgerDisposeBill ledgerDisposeBill);

    void insertBatch(ArrayList<LedgerDisposeBill> insertLedgerBill);
}
